pygrub: Correct pygrub return value
authorKeir Fraser <keir.fraser@citrix.com>
Tue, 15 Sep 2009 08:21:34 +0000 (09:21 +0100)
committerKeir Fraser <keir.fraser@citrix.com>
Tue, 15 Sep 2009 08:21:34 +0000 (09:21 +0100)
commitada90ce49fb54ed7cd6ab569bb486c9c17ddad8c
tree3e84cc0e23a8ff6a4ab099f2c08a6b7de4e14a3b
parent278db12c2bf6d77d450a6d963294260b732d9154
pygrub: Correct pygrub return value

This is the patch to correct pygrub return value for checkPassword()
function. It didn't return False at the end of the function. It
returned None so it was working fine and it's most likely just a
cosmetic issue.

Also, the missing () were added to checkPassword() function when
calling hasPassword and the unnecessary comment was removed.

Signed-off-by: Michal Novotny <minovotn@redhat.com>
tools/pygrub/src/GrubConf.py